package dao.xml;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Collection;

import model.Termin;

public interface DefaultDAO<T> {
	

public void write(OutputStream os, T data) throws IOException;
	
public T read(InputStream is) throws IOException;

public void writeMultiple(OutputStream os, Collection<T> data) throws IOException;

public Collection<Termin> readMultiple(InputStream is) throws IOException;

	
	

}
